Class PortKeepAliveProcessImpl

All Implemented Interfaces:
IPCObject, PortKeepAliveProcess, Process
Direct Known Subclasses:
FrameRelayProcessImpl, PPPProcessImpl

public class PortKeepAliveProcessImpl extends ProcessImpl implements PortKeepAliveProcess
Information provided by the PKI file:

    \class PortKeepAliveProcess
    
    \brief PortKeepAliveProcess handles the keepalive process on a device port.
    
    \example network().getDevice("Router0").getKeepAliveProcess()
    
Author:
Auto-generated
  • Constructor Details

  • Method Details

    • setKeepAliveOn

      public void setKeepAliveOn(boolean bOn)
      Information provided by the PKI file:
      
          \Enables or disables keepalive.
          
          \param bOn, true to enable keepalive, false to disable it.
          
              
      Specified by:
      setKeepAliveOn in interface PortKeepAliveProcess
      Parameters:
      bOn - Takes in a parameter of bOn
    • isKeepAliveOn

      public boolean isKeepAliveOn()
      Information provided by the PKI file:
      
          \brief Returns true if keepalive is enabled, otherwise false.
          
          \return bool, true if keepalive is enabled, otherwise false.
          
              
      Specified by:
      isKeepAliveOn in interface PortKeepAliveProcess
      Returns:
      boolean Returns a boolean
    • setKeepAliveInterval

      public void setKeepAliveInterval(int interval)
      Information provided by the PKI file:
      
          \brief Sets the keepalive interval.
          
          \param interval, the interval for keepalive.
          
              
      Specified by:
      setKeepAliveInterval in interface PortKeepAliveProcess
      Parameters:
      interval - Takes in a parameter of interval
    • getKeepAliveInterval

      public int getKeepAliveInterval()
      Information provided by the PKI file:
      
          \brief Returns the keepalive interval.
          
          \return int, the keepalive interval.
          
              
      Specified by:
      getKeepAliveInterval in interface PortKeepAliveProcess
      Returns:
      int Returns a int